package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverScoreLogInOut {
    add(0, "加分"),
    deduct(1, "扣分");

    @EnumValue
    private final int code;
    private final String desc;

    DriverScoreLogInOut(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
